-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI/importers: Translate capture sources depending on display server #11412
UI/importers: Translate capture sources depending on display server #11412
Conversation
I also noticed that the Windows and MacOS translation implementations are missing translations for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translate capture sources depending on WM
This is not a good wording, Wayland and X11 are not WMs but windowing systems.
Sorry, I realized that after I submitted my request |
The commit d7b1be3 has a too long description in a line, 88 characters, limit 72:
|
d7b1be3
to
42429d6
Compare
Corrected, apologies |
42429d6
to
dbc1ae1
Compare
The folding looks fine. Though, three commits should be squashed into one commit. |
Agreed with norihiro, squash the latter two commits into the first commit and it should be good. |
dbc1ae1
to
9bcb583
Compare
Translate window or game capture sources to xcomposite or pipewire depending on the window system used. This change prevents xcomposite being assigned on non-X11 systems which causes a crash
9bcb583
to
d030983
Compare
If a user imports a scene collection in Wayland, and then swaps to X11 later, what happens to these sources? Do they simply not load? Will OBS crash if you try to access their properties? cc @kkartaltepe since we might have had prior conversations about what to do about this. If this fixes a GitHub issue, use this syntax in the PR description:
|
They just have no properties and are not useful. This was considered fine when we decided to split the capture plugins between the platforms. I don't have a problem with the implementation as is. |
Description
Fixes a crash when importing scenes from Windows by translating window and game capture sources to
xcomposite
orpipewire
depending on the display server used.This change prevents
xcomposite
from being assigned on non-X11 systems, which causes the crash due to the module not being loaded.Motivation and Context
Fixes #5323
How Has This Been Tested?
Tested under Ubuntu 24.10 with KDE Plasma 6.1.5 under both Wayland and X11
Types of changes
Checklist: